package com.model;

public class PostDetail extends Post {
    private String username; // 作者用户名
    private String categoryName; // 分类名称

    // 继承父类构造方法
    public PostDetail() {
        super();
    }

    // getter和setter
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

	
	
}